package day07;
//  2-100之间的所有素数
public class PrimeNumber {
    public static void main(String[] args) {




        for (int num = 2; num <= 100; num++) {
            boolean flag=true;
                for (int j = 2; j <=num/2 ; j++) {
                    if(num%j==0){
                        flag=false;
                        break;
                    }

                }
                if(flag){
                    System.out.print(num+"\t");
                }

        }
    }
}
